package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;

/**
 * 调拨-新建、编辑
 **/
public class EditAllotParam {
	private String aid; // 调拨单id
	@NotEmpty(message = "来源id不能为空")
	private String fromId; // 来源id
	@NotEmpty(message = "目标id不能为空")
	private String toId; // 目标id
	private Integer type; // 调拨类型：1出库入柜2调拨柜台到仓库3冲正
	private String targetId; // 关联id，当为冲正操作时，关联历史调拨单id
	private String remark; // 调拨单描述
	private String details; // null

	public void setAid(String aid) {
 		this.aid = aid;
	}

	public String getAid() {
 		return aid;
	}

	public void setFromId(String fromId) {
 		this.fromId = fromId;
	}

	public String getFromId() {
 		return fromId;
	}

	public void setToId(String toId) {
 		this.toId = toId;
	}

	public String getToId() {
 		return toId;
	}

	public void setType(Integer type) {
 		this.type = type;
	}

	public Integer getType() {
 		return type;
	}

	public void setTargetId(String targetId) {
 		this.targetId = targetId;
	}

	public String getTargetId() {
 		return targetId;
	}

	public void setRemark(String remark) {
 		this.remark = remark;
	}

	public String getRemark() {
 		return remark;
	}

	public void setDetails(String details) {
 		this.details = details;
	}

	public String getDetails() {
 		return details;
	}

}
